#!/bin/sh

set -e

echo "Deduplicating files in /usr/share/doc"

/usr/bin/hardlink -t /usr/share/doc
apt-get --yes purge hardlink
